<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
    <link href="../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/customer/ztree/common-tree.css" rel="stylesheet" />
</head>
<body>
    <div class="winui-toolbar">
        <div class="winui-tool">
            <button id="reloadTable" class="winui-toolbtn search-table-btn-right"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
            <button id="addBean" class="winui-toolbtn search-table-btn-right" auth="1720796297124"><i class="fa fa-plus" aria-hidden="true"></i><language showName="com.skyeye.addBtn"></language></button>
        </div>
    </div>
    <div style="margin:auto 10px;">
        <table id="messageTable" lay-filter="messageTable"></table>
        <script type="text/html" id="tableBar">
            {{# if(d.editRow == 1) { }}
                {{# if(auth('1720796345289')) { }}
                    <a class="layui-btn layui-btn-xs" lay-event="subApproval">提交审批</a>
                {{# } }}
                {{# if(auth('1720796297124')) { }}
                    <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
                {{# } }}
                {{# if(auth('1720796332498')) { }}
                    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete"><language showName="com.skyeye.deleteBtn"></language></a>
                {{# } }}
            {{# } }}

            {{# if(d.editRow == 2) { }}
                {{# if(auth('1720796375123')) { }}
                    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="revoke">撤销</a>
                {{# } }}
            {{# } }}
            {{# if (d.state == 'pass') { }}
                {{# if (auth('1721442458082')) { }}
                    <a class="layui-btn layui-btn-xs" lay-event="processingToMaterialRequisition">转领料单</a>
                {{# } }}
                {{# if (auth('1721442482395')) { }}
                    <a class="layui-btn layui-btn-xs" lay-event="processingToSupplementMaterials">转补料单</a>
                {{# } }}
                {{# if (auth('1721442499305')) { }}
                    <a class="layui-btn layui-btn-xs" lay-event="processingToReturnMaterials">转退料单</a>
                {{# } }}
            {{# } }}

            <a class="layui-btn layui-btn-xs" lay-event="gantt">甘特图</a>
        </script>
    </div>
    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/jquery-min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.all.min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.exhide.min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/fuzzysearch.js"></script>
    <script type="text/javascript">
        layui.config({base: '../../js/departmentMachining/'}).use('departmentMachiningList');
    </script>
</body>
</html>